/* ---------------------主体模块 */
.main {
    width: 980px;
    height: 457px;
    /* background-color: cyan; */
    /* 左侧设置宽度，留出空处 */
    margin: 10px 0 0 220px;
}

/* ------焦点图模块（主体中间） */
.focus {
    float: left;
    width: 721px;
    height: 457px;
    background-color: purple;
}
.focus img {
    width: 100%;
    height: 100%;
}

/* ------主体右侧模块 */
.newsflash {
    float: right;
    width: 250px;
    height: 457px;
}

/* -------新闻资讯模块：hd、bd */
.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}
.news-hd {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding: 0 15px;
}
.news-hd h5 {
    float: left;
    font-size: 14px;
}
.news-hd .more {
    float: right;
}
.news-hd .more::after {
    content: '\e65f';
    font-family: 'iconfont';
}
.news-bd {
    padding: 5px 15px 0;
}
.news-bd ul li {
    height: 24px;
    line-height: 24px;
    /* 溢出省略号 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* -------生活服务模块 */
.lifeservice {
    overflow: hidden;
    height: 209px;
    border: 1px solid #e4e4e4;
    border-top: 0;
}
.lifeservice ul {
    /* 父容器延长宽度 */
    width: 252px;
}
.lifeservice ul li {
    position: relative;
    float: left;
    /* 溢出解决方案：width:25%、父容器延宽并隐藏、margin负值 */
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}
.lifeservice ul li:nth-child(2)::after {
    content: '热门';
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 16px;
    font-size: 12px;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
}
.lifeservice ul li i{
    display: inline-block;
    width: 24px;
    height: 28px;
    margin-top: 12px;
    background: url(../images/icons.png) no-repeat -23px -20px;
}

/* -------折扣广告模块 */
.bargain {
    margin-top: 5px;
}
.bargain img {
    width: 100%;
    height: 100%;
}

/* ---------------------今日推荐模块 */
.recom {
    height: 163px;
    margin-top: 12px;
    background-color: #e7eae6;
}
.re_hd {
    float: left;
    width: 205px;
    height: 100%;
    padding-top: 20px;
    background-color: #5c5251;
    text-align: center;
}
.re_bd {
    float: left;
    height: 100%;
}
.re_bd ul li {
    position: relative;
    float: left;
}
.re_bd ul li img {
    width: 248px;
    height: 163px;
}
.re_bd ul li:nth-child(-n+3)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 3px;
    height: 145px;
    background-color: #ddd;
}

/* ---------------------楼层区域模块：家用电器 */
.floor .w {
    margin-top: 30px;
}
.jd {
    margin-top: 12px;
}
/* ----------- 家电头部 */
.jd_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}
.jd_hd h3 {
    float: left;
    font-size: 18px;
    color: #c81623;
    font-weight: 400;
}
.tab_list {
    float: right;
    line-height: 30px;
}
.tab_list ul li {
    float: left;
}
.tab_list ul li a{
    margin: 0 15px;
}

/* ------------ 家电主体 */
.jd_bd {
    height: 361px;
}
.tab_list_item>div {
    float: left;
    height: 361px;
}
.col_210 {
    width: 210px;
    background-color: #f9f9f9;
    text-align: center;
}
.col_210 ul {
    padding-left: 12px;
}
.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    margin-right: 10px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    line-height: 33px;
}
.col_329 {
    width: 329px;
}
.col_221 {
    width: 221px;
    border-right: 1px solid #ccc;
}
.col_219 {
    width: 219px;
}
.bottom_line {
    /* 凡是用到盒子模型的行内元素，最好都转为行内块、或块级元素 */
    display: block;
    border-bottom: 1px solid #ccc;
}